package main

import (
	"github.com/astaxie/beego"
	_ "hello/routers"
)
func init() {
	// 定时获取access token
	go AccessTokenTimer()
	go GetGatewayID()
	go DeviceOnline()
}

func main() {
	beego.Run()
}

